﻿using System;

internal class StrTobyte
{
    public static byte[] StrToArraybyte(string str)
    {
        char[] separator = new char[] { ' ' };
        string[] strArray = str.Split(separator);
        int length = strArray.Length;
        byte[] buffer = new byte[length];
        for (int i = 0; i < length; i++)
        {
            buffer[i] = Convert.ToByte(FuckProtect.DataFrom(0) + strArray[i], 0x10);
        }
        return buffer;
    }
}

